/*
 * Copyright (c) 2022, tyustli
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2022-02-08     tyustli      first implementation
 */

#include <stdio.h>
#include <math.h>

static char is_char(int data)
{
    if ((data >= 'a' && data <= 'z') || (data >= 'A' && data <= 'Z'))
    {
        printf("data is a char \r\n");
        return 1;
    }
    else
    {
        printf("data is not a char\r\n");
        return 0;
    }

    return -1;
}

int main(int argc, char **argv)
{
    is_char('a');

    return 0;
}

/******************** end of file **********************/
